package com.example.kingdee.exception;

/**
 *  统一定义 返回码和返回信息
 */
public enum ResponseEnum {

    SUCCESS("200","成功!"),
    LOGIN_USER_NO_EXISTS("700","用户名不存在"),

    ;

    private String code;
    private String message;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    ResponseEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }
}
